<template>
  <div class=“activityForm-container”>
    <el-form ref="form" :model="activityEntity" label-width="80px">
      <el-form-item prop="activityName" label="活动名称">
        <el-input v-model="activityEntity[`activityName`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="activityDisc" label="活动描述">
        <el-input v-model="activityEntity[`activityDisc`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="activityType" label="活动类型">
        <el-input v-model="activityEntity[`activityType`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="activityAddress" label="活动地址">
        <el-input v-model="activityEntity[`activityAddress`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="activityStart_EndTime" label="活动时间段">
        <el-input v-model="activityEntity[`activityStart_EndTime`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="activityIsFree" label="是否收费">
        <el-select v-model="activityEntity[`activityIsFree`]" placeholder="placeholder">
          <el-option
              v-for="item in []"
              :key="item.value"
              :label="item.label"
              :value="item.value">
          </el-option>
        </el-select>
        <el-input v-model="activityEntity[`activityIsFree`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="communityId" label="活动名称">
        <el-input v-model="activityEntity[`communityId`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="communityId" label="活动名称">
        <el-input v-model="activityEntity[`activityIsFree`]" placeholder="placeholder"></el-input>
      </el-form-item>
      <el-form-item prop="communityId" label="活动名称">
        <el-input v-model="activityEntity[`activityIsFree`]" placeholder="placeholder"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>

export default {
  name: "activityForm",
  mixins: [],
  components: {
    activityStart_EndTime: {
      value: [],
      get () {

        return this.value;
      },
      set (value) {
        console.log(this);
        this.value = value;
      },
    },
  },
  data () {
    return {
      // 基本信息区域开始
      activityEntity: {
        activityIsFree: 0,
      },
      // 基本信息区域结束
      // 基本控制区域开始
      options: {
        isFreeList: [
          {
            label: "收费",
            value: 0,
          }, {
            label: "免费",
            value: 0,
          },
        ],
      },
      // 基本控制区域结束

      // 基本控制区域结束
      // 弹框控制区域开始

      // 弹框控制区域结束
    };
  },
  computed: {},
  methods: {
    // 初始入口
    self_init () {
    },

    // 意图控制区域开始
    // 意图控制区域结束

    // 请求扩展区开始
    // 请求扩展区结束
  },
  mounted () {
    this.self_init(null);
  },

};
</script>

<style scoped lang="less">
.activityForm-container {

}
</style>
